MailPoet\Segments\WP A

Total Complexity 51
Dependencies 22
Dependents 8
Total lines 347
Lines of code 252
Logical lines of code 130
Comment lines 48
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
createOrUpdateSubscriber()
D
32 32 92
insertSubscribers()
S
49 4 34
synchronizeUser()
S
61 3 12
removeUpdatedSubscribersWithInvalidEmail()
S
60 2 13
synchronizeUsers()
S
58 1 17
deleteSubscriber()
S
71 2 6
updateSubscribersEmails()
S
59 1 15
updateFirstNames()
S
64 1 12
updateLastNames()
S
64 1 12
updateFirstNameIfMissing()
S
65 1 11
__construct()
S
67 1 8
insertUsersToSegment()
S
65 1 10
removeOrphanedSubscribers()
S
63 1 10